-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[draft]vkd-heartbeat: Add execution API to vdk heartbeat #116
Conversation
Why do we need such a test? Please, describe the aim of the change and why it is needed (git template) This is really important in order to be able to conduct an efficient review. By writing out what is the problem being solved in this change, we make it explicit to reviewers and readers what is in the scope of our change and what it is not. Thus avoiding any potential misunderstanding. |
How much time did the test takes now? We need to be careful to keep the test duration under control. How did you test it ? I see no testing done in the description. You can bump version vdk-heartbeat to trigger release upon merge. |
a368fab
to
25df9b5
Compare
projects/vdk-heartbeat/src/taurus/vdk/heartbeat/job_controller.py
Outdated
Show resolved
Hide resolved
projects/vdk-heartbeat/src/taurus/vdk/heartbeat/job_controller.py
Outdated
Show resolved
Hide resolved
37a2d49
to
0eb802d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look ok to me. I made some small comments that you can check
projects/vdk-heartbeat/src/taurus/vdk/heartbeat/job_controller.py
Outdated
Show resolved
Hide resolved
projects/vdk-heartbeat/src/taurus/vdk/heartbeat/job_controller.py
Outdated
Show resolved
Hide resolved
Recently we added a new execution api to the control service. This change aims to include the new api functionality in the vdk-heartbeat tests. This change adds the new functionality of the execute API to the VDK heartbeat tests. We now have functionality to check if a data job has a running data jobexecution and start a data job execution through job_controller.py The new test flow disables the data job deployment after all other tests have passed and then checks for a runnig execution. When there are none we start a new data job execution through the execution API, and checks that the data job execution has started. Since the deployment was disabled the only data job execution that could start is a manual one through the execution api. Once that execution finishes the test concludes and execution resources get cleaned up as normal. Testing: CI/CD Signed-off-by: Momchil Zhivkov <[email protected]>
0eb802d
to
ec58436
Compare
Recently we added a new execution api to the control service. This change aims to include the new api functionality in the vdk-heartbeat tests. This change adds the new functionality of the execute API to the VDK heartbeat tests. We now have functionality to check if a data job has a running data jobexecution and start a data job execution through job_controller.py The new test flow disables the data job deployment after all other tests have passed and then checks for a runnig execution. When there are none we start a new data job execution through the execution API, and checks that the data job execution has started. Since the deployment was disabled the only data job execution that could start is a manual one through the execution api. Once that execution finishes the test concludes and execution resources get cleaned up as normal. Testing: CI/CD Signed-off-by: Momchil Zhivkov <[email protected]>
Recently we added a new execution api to the control service.
This change aims to include the new api functionality in the
vdk-heartbeat tests.
This change adds the new functionality of the execute API to the
VDK heartbeat tests. We now have functionality to
check if a data job has a running data jobexecution
and start a data job execution through job_controller.py
The new test flow disables the data job deployment after all other
tests have passed and then checks for a runnig execution.
When there are none we start a new data job execution through the
execution API, and checks that the data job execution has started. Since
the deployment was disabled the only data job execution
that could start is a manual one through the execution api.
Once that execution finishes the test concludes and execution
resources get cleaned up as normal.
Testing: CI/CD
Signed-off-by: Momchil Zhivkov [email protected]